﻿@model IEnumerable<CommonShop.Service.User>

@{
    ViewBag.Title = "UserList";
    Layout = "~/Areas/Manage/Views/Shared/_Layout.cshtml";
}
<table>
<tr>
        <th></th>
        <th>
            用户名 
        </th>
        <th>
            密码 
        </th>
        <th>
            密码
        </th>
        <th>
            Price
        </th>
        
    </tr>
@foreach(var item in Model){
    
    <tr>
        <td>
        @Html.ActionLink("Edit", "Edit", new { UserId = item.UserID }) 
        @Html.ActionLink("Delete", "Delete", new { UserId = item.UserID })
        </td>
        <td>@item.UserName</td>
        <td>@item.UserPassword</td>
    </tr>
}

</table>